﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="ucGreenTab.ascx.cs" Inherits="Controls_ucGreenTab" %>
<div class="box_tab">
    <ul id="menu" class="menu">
        <li class="active"><a href="#sanpham">Sản Phẩm</a></li>
        <li><a href="#raovat">Rao Vặt</a></li>
        <li><a href="#daugia">Đấu Giá</a></li>
        <li><a href="#cungdautu">Cùng Đầu Tư</a></li>
    </ul>
    <div id="sanpham" class="content">
        <asp:Repeater ID="rptProducts" runat="server">
            <ItemTemplate>
                <div class="folder <%#getEvent(Container.ItemIndex) %> bottom">
                    <a href="index.aspx?cid=-4&id=<%#Eval("PRODUCT_ID") %>">
                        <img src="../images/thumb_img.png" alt="" width="58" height="58" class="even" /></a>
                    <p>
                        <a href="index.aspx?cid=-4&id=<%#Eval("PRODUCT_ID") %>">
                            <%#Eval("PRODUCT_NAME") %></a></p>
                    <p>
                        Địa điểm: <span class="red">
                            <%#Eval("REGION_NAME_VN") %></span></p>
                    <p>
                        Giá: <span class="red">
                            <%#getPrice(Eval("UNIT_PRICE").ToString())%></span> VND/m</p>
                </div>
            </ItemTemplate>
        </asp:Repeater>
    </div>
    <div id="raovat" class="content">
    </div>
    <div id="daugia" class="content" style="padding: 0 0 20px 20px; width: 505px">
        <div style="background-image: url(../images/aution_seperator_bottom.png); overflow: hidden;
            width: 500px">
            <asp:Repeater ID="rptAution" runat="server">
                <ItemTemplate>
                    <div class="aution_item <%#getAutionDiv(Container.ItemIndex+1) %>">
                        <a href="#" class="title">
                            <%#LibraryO2S.O2S_StringUtil.Substring(Eval("PRODUCT_NAME").ToString(),0,26) %></a><a
                                href="#" class="more">Chi tiết >></a>
                        <div class="thumb_img">
                            <img src="../upload/products/<%#Eval("THUMB_IMAGE") %>" width="70" height="70" />
                        </div>
                        <div class="price">
                            <span>--:--:--</span><br />
                            <span class="current">
                                <%#Eval("CURRENT_PRICE") %><sup>đ</sup></span>
                        </div>
                        <div class="bid">
                            <img src="../Images/btn_bid.png" />
                        </div>
                        <p>
                            Giá thị trường:
                            <%#Eval("UNIT_PRICE") %></p>
                    </div>
                </ItemTemplate>
            </asp:Repeater>
            <%--<div class="aution_item aution_odd">
                <a href="#" class="title">Chuột laser A4 Tech X6</a><a href="#" class="more">Chi tiết</a>
                <div class="thumb_img">
                    <img src="../Images/product.png" />
                </div>
                <div class="price">
                    <span>--:--:--</span><br />
                    <span class="current">10<sup>đ</sup></span>
                </div>
                <div class="bid">
                    <img src="../Images/btn_bid.png" />
                </div>
                <p>
                    Giá thị trường: 180.000</p>
            </div>
            <div class="aution_item aution_even">
                <a href="#" class="title">Chuột laser A4 Tech X6</a><a href="#" class="more">Chi tiết</a>
                <div class="thumb_img">
                    <img src="../Images/product.png" />
                </div>
                <div class="price">
                    <span>--:--:--</span><br />
                    <span class="current">10<sup>đ</sup></span>
                </div>
                <div class="bid">
                    <img src="../Images/btn_bid.png" />
                </div>
                <p>
                    Giá thị trường: 180.000</p>
            </div>--%>
        </div>
    </div>
    <div id="cungdautu" class="content" style="padding: 0 0 20px 20px; width: 505px">
        <div style="background-image: url(../images/aution_seperator_bottom.png); overflow: hidden;
            width: 500px">
            <asp:Repeater ID="rptInvest" runat="server">
                <ItemTemplate>
                    <div class="aution_item <%#getAutionDiv(Container.ItemIndex+1) %>">
                        <a href="#" class="title">
                            <%#LibraryO2S.O2S_StringUtil.Substring(Eval("PRODUCT_NAME").ToString(),0,26) %></a><a
                                href="#" class="more">Chi tiết >></a>
                        <div class="thumb_img">
                            <img src="../upload/products/<%#Eval("THUMB_IMAGE") %>" width="70" height="70" />
                        </div>
                        <div class="price">
                            <span>--:--:--</span><br />
                            <span class="current">
                                <%#Eval("CURRENT_PRICE") %><sup>đ</sup></span>
                        </div>
                        <div class="bid">
                            <img src="../Images/btn_bid.png" />
                        </div>
                        <p>
                            Giá thị trường:
                            <%#Eval("UNIT_PRICE") %></p>
                    </div>
                </ItemTemplate>
            </asp:Repeater>
        </div>
    </div>
</div>
